include ../evconn.mk

all: server client

server: server.o
	$(CC) -o $@ $(CCFLAGS) $^ $(LIBS)

server.o: server.c
	$(CC) -c $(CCFLAGS) $< -o $@ $(INCLUDE)

client: client.o
	$(CC) -o $@ $(CCFLAGS) $^ $(LIBS)

client.o: client.c
	$(CC) -c $(CCFLAGS) $< -o $@ $(INCLUDE)

clean:
	@(rm -rf server server.o client client.o)

